![]() |
GetWindowRegion |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Obtains a handle to a specific window region.
OSStatus GetWindowRegion ( WindowRef window, WindowRegionCode inRegionCode, ioWinRgn );
A pointer to the window to be examined.
A constant representing the window region whose handle you wish to obtain; see
On input, a handle to a region created by your application. On return, the handle is set to the specified window region.
A result code.
The GetWindowRegion function produces a handle to a window definition function’s window region in response to a kWindowMsgGetRegion message. The visibility of the window is unimportant for GetWindowRegion to work correctly.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)